package com.lzh.persevere.model.ro.photo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

/**
 * @author luzhiheng
 * @since 2025-07-05
 */
@Data
@ApiModel(value = "AddPhotoRO", description = "AddPhotoRO")
public class AddPhotoRO {

    @ApiModelProperty(value = "标签ID")
    private Long tagId;

    @ApiModelProperty(value = "新添加标签")
    private String newTagName;

    @NotEmpty(message = "图片名称不能为空")
    @ApiModelProperty(value = "图片名称")
    private String photoName;

    @NotEmpty(message = "图片不能为空")
    @ApiModelProperty(value = "图片链接地址", required = true)
    private String url;

    @ApiModelProperty(value = "图片拍摄时间")
    private Date takeTime;
}
